﻿<Page
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:metro="http://schemas.codeplex.com/elysium"
      xmlns:params="http://schemas.codeplex.com/elysium/params"
      x:Name="page_backup"
      x:Class="WGM.PageBackup" 
      mc:Ignorable="d" 
      d:DesignHeight="483" d:DesignWidth="998"
	Title="PageBackup" Width="Auto" Height="Auto" Loaded="page_backup_Loaded">

    <Grid Background="{Binding Background, ElementName=listbox_log}">
        <Button x:Name="button_backup" Content="Full Backup" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="96" Height="26" Click="button_backup_Click" FontSize="11"/>
        <metro:ProgressBar x:Name="pb_backup" Height="17" Margin="111,20,287,0" VerticalAlignment="Top"/>
        <metro:ProgressBar x:Name="pb_backup_running" Height="17" Margin="111,14,287,0" VerticalAlignment="Top" State="Busy" Visibility="Hidden"/>
        <ListBox x:Name="listbox_log" Margin="10,42,287,10" BorderThickness="0,0,1,0"/>
        <Grid Margin="0,42,10,10" HorizontalAlignment="Right" Width="272" metro:ApplicationBar.PreventsOpen="true">
        <ListBox x:Name="listbox_gamelist" BorderThickness="0">
            <ListBox.ContextMenu>
                <ContextMenu>
                    <MenuItem x:Name="menuitem_selected" Header="Backup Selected" Click="menuitem_selected_Click"/>
                </ContextMenu>
            </ListBox.ContextMenu>
        </ListBox>
        </Grid>
        <TextBox Height="23" Margin="0,13,10,0" TextWrapping="Wrap" Text="Right click to start individual Backup" VerticalAlignment="Top" BorderThickness="0" HorizontalAlignment="Right" Width="272" HorizontalContentAlignment="Center" IsReadOnly="True" FontSize="14" FontFamily="Segoe UI Semibold"/>
    </Grid>
</Page>
